<?php

namespace App\Api\Services;

use App\Api\Models\PictureAlbumModel;
class PictureEditingService
{
    /**
     * 新建图片画册
     */
    static public function addPictureAlbum($param){
        
       return PictureAlbumModel::addPictureAlbum($param);
    }
    /**
     * 查询新建图片画册信息
     */
    static public function getPictureAlbumInfo($condition){
        
        return PictureAlbumModel::getPictureAlbumInfo($condition);
    }
    /**
     * 查询多条图片画册信息
     */
    
    static public function getPictureAlbumInfos($condition,$pa_id_arr){
        return PictureAlbumModel::getPictureAlbumInfos($condition,$pa_id_arr);
    }
    /**
     * 修改图片画册信息
     */
    static public function updateAlbumImgs($condition,$data){
        
      return PictureAlbumModel::updateAlbumImgs($condition,$data);  
    }
    
    /**
     * 图片画册列表
     */
    static public function getPictureAlbumList($condition,$currentPage,$pageSize){
         
        return PictureAlbumModel::getPictureAlbumList($condition, $currentPage,$pageSize);
    
    } 
    /**
     * 删除图片画册
     */
    static public function delPictureAlbum($condition,$pa_id_arr){
        
        return PictureAlbumModel::delPictureAlbum($condition,$pa_id_arr);
    }
}
